package com.pkuse.bjousystem;

import org.springframework.security.core.AuthenticationException;

public class UnsupportedEntityTypeException extends AuthenticationException {
    public UnsupportedEntityTypeException(String msg) {
        super("类别" + msg + "不支持, 只支持student和school");
    }
    public UnsupportedEntityTypeException(String msg, Throwable t) {
        super(msg, t);
    }
}
